import { Routes } from '@angular/router';
import { Demo } from './components/demo/demo';
import { Button } from './components/demo/button/button';
import { Tree } from './components/demo/tree/tree';

export const routes: Routes = [
  {
    path: 'demo',
    component: Demo,
    children: [
      { path: 'button', component: Button },
      { path: 'tree', component: Tree },
    ],
  },
];
